# -*- coding:utf-8 -*-
from django_filters import CharFilter
from django_filters.filterset import FilterSet

from ..models.role_menu import Menu


class MenuFilter(FilterSet):
    class Meta:
        model = Menu
        fields = ["id", "name"]
        # fields = {
        #     "name": ["contains"],
        # }
